package com.md.api.service;

import com.md.api.entity.HttpResult;
import com.md.api.entity.RecycleBin;
import com.md.api.entity.dto.ComposeCommitDto;
import com.md.api.entity.dto.ComposeQueryDto;

import javax.servlet.http.HttpServletRequest;

/**
 * @Author liujie
 * @ClassName UserSevice
 * @Date 2022/11/9 11:34
 **/
public interface RecycleBinSevice {


    HttpResult recovery(HttpServletRequest request, ComposeCommitDto commitDto);

    HttpResult recoveryPage(HttpServletRequest request,ComposeQueryDto qto);

    HttpResult restore(HttpServletRequest request, RecycleBin recycle);

    HttpResult remove(HttpServletRequest request, ComposeCommitDto dto);
}
